.ui-fontpicker,
.ui-dialog.ui-fontpicker {
    display: inline-block;
	width: auto;
}

.ui-fontpicker-inline {
    position: static;
}

.ui-fontpicker-buttonset {
	float: left;
	margin-left: .4em;
}

.ui-fontpicker-buttonset .ui-button {
	margin: .5em 0 .5em 0;
	cursor: pointer;
}

.ui-fontpicker-buttonpane {
	background-image: none;
	margin:			.7em 0 0 0;
	padding:		0 .2em;
	border-left:	0;
	border-right:	0;
	border-bottom:	0;
}

.ui-fontpicker-buttonpane button {
	float: right;
	margin: .5em .2em .4em;
	cursor: pointer;
	padding: .2em .6em .3em .6em;
	width:auto;
	overflow:visible;
}

.ui-fontpicker-buttonpane button.ui-fontpicker-current {
	float:left;
}

.ui-fontpicker table {
    font-size: 14px; /* Reset browser table font-size */
	margin: 0;
}

.ui-fontpicker table td {
	vertical-align: top;
}

.ui-fontpicker-padding-left {
	padding-left: 10px;
}
.ui-fontpicker-padding-top {
	padding-top: 10px;
}

.ui-fontpicker-border {
	border: 1px inset;
    display: inline-block;
}

/* Family */
.ui-fontpicker-family-text {
	width: 195px;
	margin: 0;
}
.ui-fontpicker-family-select {
	width: 200px;
	margin: 0;
}

/* Style */
.ui-fontpicker-style-text {
	width: 95px;
	margin: 0;
}
.ui-fontpicker-style-select {
	width: 100px;
	margin: 0;
}

/* Size */
.ui-fontpicker-size-text {
	width: 45px;
	margin: 0;
}
.ui-fontpicker-size-select {
	width: 50px;
	margin: 0;
}

/* Settings */

/* Preview */
.ui-fontpicker-preview-outer {
	border: inset thin white;
	height: 80px;
	position: relative;
	overflow: hidden;
}
.ui-fontpicker-preview-inner {
	position: absolute;
	text-align: center;
	white-space: nowrap;
	width: 1000%;
	left: -450%;
	height: 400%;
	top: -150%;
}
.ui-fontpicker-preview {
	display: table;
	width: 100%;
	height: 100%;
}
.ui-fontpicker-preview-text {
	display: table-cell;
	vertical-align: middle;
}

table.ui-fontpicker-settings-table {
	width: 100%;
	white-space: nowrap;
}

table.ui-fontpicker-settings-table td {
	vertical-align: middle;
}

.ui-fontpicker-settings-label {
	text-align: right;
	padding-left: 1em;
}

.ui-fontpicker-settings-label:first-child {
	padding-left: 0;
}

.ui-fontpicker-settings
{
    display:none;
}